package com.spring.service;

import java.util.List;

/**
 * Created by hbl on 2017/12/27.
 */
public interface IBaseService<T> {
    public void add(T t);

    public void update(T t);

    public void delete(int id);

    public T load(int id);

    public List<T> listAll();
}
